package com.newasia.server.dal.entitys;

import java.io.Serializable;

public class ModuleName implements Serializable {
    private Long moduleId;

    private Long moduleNameId;

    private String moduleName;

    private Long isSub;

    private static final long serialVersionUID = 1L;

    public Long getModuleId() {
        return moduleId;
    }

    public void setModuleId(Long moduleId) {
        this.moduleId = moduleId;
    }

    public Long getModuleNameId() {
        return moduleNameId;
    }

    public void setModuleNameId(Long moduleNameId) {
        this.moduleNameId = moduleNameId;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName == null ? null : moduleName.trim();
    }

    public Long getIsSub() {
        return isSub;
    }

    public void setIsSub(Long isSub) {
        this.isSub = isSub;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", moduleId=").append(moduleId);
        sb.append(", moduleNameId=").append(moduleNameId);
        sb.append(", moduleName=").append(moduleName);
        sb.append(", isSub=").append(isSub);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}